package com.baizhi.springboot.entity;

import java.util.Date;

public class Banner {
    /*`banner_id` int(11) NOT NULL AUTO_INCREMENT,
  `banner_image_url` varchar(200) DEFAULT NULL,
  `banner_old_name` varchar(50) DEFAULT NULL COMMENT '原有名称',
  `banner_state` int(10) DEFAULT NULL,
  `banner_date` datetime DEFAULT NULL COMMENT '上传时间',
  `banner_description` varchar(200) DEFAULT NULL,*/
    private Integer bannerId;
    private String bannerImageUrl;
    private String bannerOldName;
    private Integer bannerState;
    private Date bannerDate;
    private String bannerDescription;

    @Override
    public String toString() {
        return "Banner{" +
                "bannerId=" + bannerId +
                ", bannerImageUrl='" + bannerImageUrl + '\'' +
                ", bannerOldName='" + bannerOldName + '\'' +
                ", bannerState=" + bannerState +
                ", bannerDate=" + bannerDate +
                ", bannerDescription='" + bannerDescription + '\'' +
                '}';
    }

    public Integer getBannerId() {
        return bannerId;
    }

    public void setBannerId(Integer bannerId) {
        this.bannerId = bannerId;
    }

    public String getBannerImageUrl() {
        return bannerImageUrl;
    }

    public void setBannerImageUrl(String bannerImageUrl) {
        this.bannerImageUrl = bannerImageUrl;
    }

    public String getBannerOldName() {
        return bannerOldName;
    }

    public void setBannerOldName(String bannerOldName) {
        this.bannerOldName = bannerOldName;
    }

    public Integer getBannerState() {
        return bannerState;
    }

    public void setBannerState(Integer bannerState) {
        this.bannerState = bannerState;
    }

    public Date getBannerDate() {
        return bannerDate;
    }

    public void setBannerDate(Date bannerDate) {
        this.bannerDate = bannerDate;
    }

    public String getBannerDescription() {
        return bannerDescription;
    }

    public void setBannerDescription(String bannerDescription) {
        this.bannerDescription = bannerDescription;
    }

    public Banner(Integer bannerId, String bannerImageUrl, String bannerOldName, Integer bannerState, Date bannerDate, String bannerDescription) {
        this.bannerId = bannerId;
        this.bannerImageUrl = bannerImageUrl;
        this.bannerOldName = bannerOldName;
        this.bannerState = bannerState;
        this.bannerDate = bannerDate;
        this.bannerDescription = bannerDescription;
    }

    public Banner() {
    }
}
